﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

</head>
<body>
    <form id="form1" runat="server">
    <div id="display">

    </div>
    </form>
    <script src="Scripts/jquery-2.0.3.js"></script>

    <script>
        $(document).ready(function () {
            var data = '<%= this.ServerData %>';
            var objs = JSON.parse(data);//deserialize
            var env = JSON.stringify(objs);//serialize

            var objs1 = JSON.parse(JSON.stringify(objs));

            

            var display = $("#display");

            for (var ac in objs) {

                var con = $("<div>");
                con.html(objs[ac].Name);
                display.append(con);
                
            }
        });
        


    </script>
</body>
</html>
